home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alles Voor Internet / Tout Pour Internet
/
alles voor internet.iso
/
MacInternet™
/
Net
/
Utilities
/
Seer family 2.0
/
seer_common
/
sc_utilities.c
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1987-08-29
|
261 b
|
16 lines
|
[
TEXT/KAHL
]
/*
utilities
*/
#include "sc.h"
/*
standard c string length
*/
int strlen(str)
register char *str;
{char *old_str;
old_str=str;
while((*str++)!=0) /*advance till we hit the null at the end*/
;
return ((str-old_str)-1); /*return how far forward went*/
}